#include <iostream>
using namespace std;
int main()
{
    int B,A,C,D;
    cout << "A=";
    cin >>A;
    cout << "B=" ;
    cin >>B;
if (A>B)
{
    C=B;
    D=A;
    cout <<"Otvet: "<<endl<<"A=" <<C <<endl <<"B="<<D << endl;
}
else
{
    C=A;
    D=B;
    cout <<"Otvet: "<<endl<<"A=" <<C <<endl <<"B="<<D << endl;
}
return 0;
}
